<template>
  <div class="Aside">
    <div class="aside_left">
      <div>
        <router-link to="/DiscoverMusic">发现音乐</router-link>
      </div>
      <div>
        <router-link to="/RecommendedPlaylist">推荐歌单</router-link>
      </div>
      <div>
        <router-link to="LatestMusic">最新音乐</router-link>
      </div>
      <div>
        <router-link to="LatestMv">最新mv</router-link>
      </div>
    </div>
    <div class="aside_right">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      musicUrl: "12132123",
    };
  },
};
</script>

<style lang="less" scoped>
.Aside {
  width: 100%;
  height: 830px;
  display: flex;
  background-color: #ccc;
  .aside_left {
    width: 200px;
    height: 100%;
    background-color: rgb(245, 245, 247);
    div {
      width: 100%;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 15px;
      cursor: pointer;
    }
    div:nth-child(1) {
      margin-top: 20px;
    }
  }
  .aside_right {
    flex: 1;
    overflow-y: scroll;
    background-color: rgb(163, 161, 161);
    // margin-bottom: 57px;
    background-image: url("../../assets/bg.jpg");
  }
}
a.router-link-active {
  color: red;
}
a {
  color: #000;
}
</style>